{include file="header.html"}
<div id="rightTop">
  <p>{$lang.person_setting}</p>
  <ul class="subnav">
    <!--{if $smarty.get.wait_verify}-->
    <li><a class="btn1" href="index.php?app=person_setting">{$lang.manage}</a></li>
    <!--{else}-->
    <li><span>{$lang.manage}</span></li>
    <!--{/if}-->
    <li><a class="btn1" href="index.php?app=person_setting&amp;act=add">{$lang.add}</a></li>
  </ul>
</div>
<div class="tdare">
  <table width="100%" cellspacing="0" class="dataTable">
    <!--{if $person}-->
    <tr class="tatr1">
      <td width="20" class="firstCell"><input type="checkbox" class="checkall" /></td>
      <td class="table-center">{$lang.person_title}</span></td>
      <td class="table-center">{$lang.person_url}</span></td>
      <!--{if !$smarty.get.wait_verify}-->
      <td class="table-center"><span ectype="order_by" fieldname="sort_order">{$lang.sort_order}</span></td>
      <!--{/if}-->
      <td class="handler">{$lang.handler}</td>
    </tr>
    <!--{/if}-->
    <!--{foreach from=$person item=per}-->
    <tr class="tatr2">
      <td class="firstCell"><input type="checkbox" class="checkitem" value="{$per.person_id}" /></td>
      <td class="table-center">{$per.person_title}</td>
      <td class="table-center">{if $per.person_url}<img src="{$per.person_url}?{$random_number}" height="30"/>{/if}</td>
      <!--{if !$smarty.get.wait_verify}-->
      <td class="table-center"><span ectype="inline_edit" fieldname="sort_order" fieldid="{$store.store_id}" datatype="pint" title="{$lang.editable}" class="editable">{$per.sort_order}</span></td>
      <!--{/if}-->
      <td class="handler">
        <!--{if !$smarty.get.wait_verify}-->
        <a href="index.php?app=person_setting&amp;act=edit&amp;id={$per.person_id}">{$lang.edit}</a> | <a href="javascript:drop_confirm('{$lang.drop_confirm}', 'index.php?app=person_setting&amp;act=drop&amp;id={$per.person_id}');">{$lang.drop}</a>
        <!--{else}-->
        <a href="index.php?app=person_setting&amp;act=view&amp;id={$per.person_id}">{$lang.view}</a>
        <!--{/if}--></td>
    </tr>
    <!--{foreachelse}-->
    <tr class="no_data">
      <td colspan="12">{$lang.no_data}</td>
    </tr>
    <!--{/foreach}-->
  </table>
  <!--{if $person}-->
  <div id="dataFuncs">
    <div class="pageLinks">
      {include file=page.bottom.html}
    </div>
    <div id="batchAction" class="left paddingT15">
      <input class="formbtn batchButton" type="button" value="{$lang.drop}" name="id" uri="index.php?app=person_setting&act=drop" presubmit="confirm('{$lang.drop_confirm}');" />
    </div>
  </div>
  <div class="clear"></div>
  <!--{/if}-->

</div>
{include file="footer.html"}